EXERCISE 1: Where did all the code go? We deleted the repetitive code, so we can use a loop and custom block!
- In LOGIC, go to and drag in Loop with Range at the bottom of your program.
- In SUBJECT, go to and drag in Move and Turn INSIDE the loop.
- Change the integer inside range() to 9 so that we make a star with 9 points!
- Click Run to make sure it works.
To navigate the page using the TAB key, first press ESC to exit the code editor.